package com.mzj.saas.jobs.bill.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

/*
 * 物业房产
 */
@Entity
@Table(name = "saas_community_house")
public class CommunityHouse {

    @Id
    private String id;
    /*
     *小区id
     */
    @Column(name = "community_id", nullable = true)
    private String  communityId;
    /*
     *楼栋id
     */
    @Column(name = "build_id", nullable = true)
    private Long  buildId;
    /*
     *单元id
     */
    @Column(name = "unit_id", nullable = true)
    private Long  unitId;
    /*
     *省
     */
    @Column(name = "province_id", nullable = true)
    private Long  provinceId;
    /*
     *市
     */
    @Column(name = "city_id", nullable = true)
    private Long  cityId;
    /*
     *区
     */
    @Column(name = "district_id", nullable = true)
    private Long  districtId;
    /*
     *街道
     */
    @Column(name = "street_id", nullable = true)
    private Long  streetId;
    /*
     *社区
     */
    @Column(name = "b_community_id", nullable = true)
    private Long  bCommunityId;
    /*
     *地址
     */
    @Column(name = "address", nullable = true)
    private String  address;
    /*
     *楼层
     */
    @Column(name = "floor", nullable = true)
    private Integer  floor;
    /*
     *房号
     */
    @Column(name = "room_number", nullable = true)
    private String  roomNumber;
    /*
     *面积(平方米)
     */
    @Column(name = "area", nullable = true)
    private BigDecimal area;
    /*
     *户型室
     */
    @Column(name = "room", nullable = true)
    private Integer  room;
    /*
     *户型厅
     */
    @Column(name = "hall", nullable = true)
    private Integer  hall;
    /*
     *户型卫
     */
    @Column(name = "toilet", nullable = true)
    private Integer  toilet;
    /*
     *产权所有人姓名
     */
    @Column(name = "owner_name", nullable = true)
    private String  ownerName;
    /*
     *产权所有人电话
     */
    @Column(name = "owner_mobile", nullable = true)
    private String  ownerMobile;
    /*
     *收费开始日期
     */
    @Column(name = "start_time", nullable = true)
    private Date startTime;
    /*
     *水表号
     */
    @Column(name = "water_meter", nullable = true)
    private String  waterMeter;
    /*
     *电表号
     */
    @Column(name = "electric_meter", nullable = true)
    private String  electricMeter;
    /*
     *燃气表号
     */
    @Column(name = "gas_meter", nullable = true)
    private String  gasMeter;
    /*
     *所属物业
     */
    @Column(name = "house_property_id", nullable = true)
    private Long  housePropertyId;
    /*
     *状态：1正常 2已删除
     */
    @Column(name = "status", nullable = true)
    private Integer  status;
    /*
     *操作人
     */
    @Column(name = "operation_id", nullable = true)
    private String  operationId;
    /*
     *创建时间
     */
    @Column(name = "create_time", nullable = true)
    private Date  createTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCommunityId() {
        return communityId;
    }

    public void setCommunityId(String communityId) {
        this.communityId = communityId;
    }

    public Long getBuildId() {
        return buildId;
    }

    public void setBuildId(Long buildId) {
        this.buildId = buildId;
    }

    public Long getUnitId() {
        return unitId;
    }

    public void setUnitId(Long unitId) {
        this.unitId = unitId;
    }

    public Long getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Long provinceId) {
        this.provinceId = provinceId;
    }

    public Long getCityId() {
        return cityId;
    }

    public void setCityId(Long cityId) {
        this.cityId = cityId;
    }

    public Long getDistrictId() {
        return districtId;
    }

    public void setDistrictId(Long districtId) {
        this.districtId = districtId;
    }

    public Long getStreetId() {
        return streetId;
    }

    public void setStreetId(Long streetId) {
        this.streetId = streetId;
    }

    public Long getbCommunityId() {
        return bCommunityId;
    }

    public void setbCommunityId(Long bCommunityId) {
        this.bCommunityId = bCommunityId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getFloor() {
        return floor;
    }

    public void setFloor(Integer floor) {
        this.floor = floor;
    }

    public String getRoomNumber() {
        return roomNumber;
    }

    public void setRoomNumber(String roomNumber) {
        this.roomNumber = roomNumber;
    }

    public BigDecimal getArea() {
        return area;
    }

    public void setArea(BigDecimal area) {
        this.area = area;
    }

    public Integer getRoom() {
        return room;
    }

    public void setRoom(Integer room) {
        this.room = room;
    }

    public Integer getHall() {
        return hall;
    }

    public void setHall(Integer hall) {
        this.hall = hall;
    }

    public Integer getToilet() {
        return toilet;
    }

    public void setToilet(Integer toilet) {
        this.toilet = toilet;
    }

    public String getOwnerName() {
        return ownerName;
    }

    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName;
    }

    public String getOwnerMobile() {
        return ownerMobile;
    }

    public void setOwnerMobile(String ownerMobile) {
        this.ownerMobile = ownerMobile;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public String getWaterMeter() {
        return waterMeter;
    }

    public void setWaterMeter(String waterMeter) {
        this.waterMeter = waterMeter;
    }

    public String getElectricMeter() {
        return electricMeter;
    }

    public void setElectricMeter(String electricMeter) {
        this.electricMeter = electricMeter;
    }

    public String getGasMeter() {
        return gasMeter;
    }

    public void setGasMeter(String gasMeter) {
        this.gasMeter = gasMeter;
    }

    public Long getHousePropertyId() {
        return housePropertyId;
    }

    public void setHousePropertyId(Long housePropertyId) {
        this.housePropertyId = housePropertyId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getOperationId() {
        return operationId;
    }

    public void setOperationId(String operationId) {
        this.operationId = operationId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
